module PositionHelper
	def get_image(value)
	  case value 
    when 'bp'
      'bPawn46.gif'
    when 'br'
      'bRook46.gif'
    when 'bn'
      'bKnight46.gif'
    when 'bb'
      'bBishop46.gif'
    when 'bk'
      'bKing46.gif'
    when 'bq'
      'bQueen46.gif'
    when 'wp'
      'wPawn46.gif'
    when 'wr'
      'wRook46.gif'
    when 'wn'
      'wKnight46.gif'
    when 'wb'
      'wBishop46.gif'
    when 'wk'
      'wKing46.gif'
    when 'wq'
      'wQueen46.gif'
    else
      'spacer.gif'
	  end
  end
end

